import 'package:flutter_local_notifications/flutter_local_notifications.dart';

import './public.dart';

class AppConfig {
  static const bool isDebug = true;
  //接口地址
  static const String BASE_UEL = "https://appapi.oneyuedu.com/";
//  static const String BASE_UEL = "http://192.168.2.81:3001/";
  static const String IMG_BASE_UEL = "https://adminapi.oneyuedu.com/";
  static const String APP_ID = "com.allure.any_reader";

  static Router router;

  static String cryptKey = "lmau1BvO";
  static String cryptIv = "lmau1BvO";
  static double statusHeight = 0.0;
}

class Constants {
  static const String KEY_GUIDE = 'key_guide';
}

class Api {
  static const String findAllRules = "reptile?a=1&s=";
  static const String checkUpdate = "app?a=1&s=";
  static const String findBook = "reptile/getUrl?a=1&s=";
  static const String findAllChapter = "findchapter?a=1&s=";
  static const String findArticle = "book/catalog?a=1&s=";
  static const String findBookInfo = "reptile/getBookJson?a=1&s=";
  static const String getRecommend = "book/getRecommend?a=1&s=";
  static const String getRetrievalHot = "retrieval/hot?a=1&s=";
  static const String getRetrievalList = "retrieval?a=1&s=";

  static const String bookTypeList = "type/bookTypeList?a=1&s=";
}

class AppUtils {
  static FlutterLocalNotificationsPlugin flutterLocalNotificationsPlugin;
}
